package com.ipet.ad.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ipet.ad.pojo.Ad;

import java.util.Map;

public interface AdService extends IService<Ad> {
    PageInfo<Ad> getAllAd(Integer pageNo , Integer pageSize);
    PageInfo<Ad> getSomeAd(Map<String , Object> map,Integer pageNo , Integer pageSize);
}
